package com.UnionPayCenter.mapper;

import com.UnionPayCenter.base.MyMapper;
import com.UnionPayCenter.entity.ShopEntity;
import com.UnionPayCenter.entity.UserEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface ShopMapper extends MyMapper<ShopEntity> {

    ShopEntity selectByWx(@Param("shopWx") String shopWx);

    ShopEntity selectByShopId(@Param("shopId") Integer shopId);



    List<ShopEntity> selectList(@Param("managerId") Integer managerId);
}
